# Lesson 2: CSS Text and Position

In CSS, you can control how text looks and where it appears on the page.

Use text-align to position text horizontally, and color to change its color.

Example:

`<p style="text-align:center; color:red;">Centered red text</p>`

## 1. Which property centers text horizontally?

## 2. Which value of text-align makes the text in the middle?

## 3. Try it yourself!

Write a paragraph with green text and centered alignment that says: “CSS is awesome!”.

← Back